package com.gzhryc.shared_device.cdcz.api.protocol;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

public class CDCZHttpChangeMQTTConnectRequest extends SecurityRequest<CDCZHttpChangeMQTTConnectRequest.Body> {

    private static final long serialVersionUID = 1L;

    public CDCZHttpChangeMQTTConnectRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String deviceSn;
        private String type;
        private String ip;
        private String port;
        private String userName;
        private String userPwd;

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getPort() {
            return port;
        }

        public void setPort(String port) {
            this.port = port;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserPwd() {
            return userPwd;
        }

        public void setUserPwd(String userPwd) {
            this.userPwd = userPwd;
        }
    }
}
